package com.business.customer.model.auto;

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.lang.Integer;

/**
 * 客户信息 CustomerInfo 
 * @author LuJingyuan_自动生成
 * @email 674326842@qq.com
 * @date 2020-12-08 10:19:55
 */
public class CustomerInfo implements Serializable {

	private static final long serialVersionUID = 1L;
	
		
	/**  **/
	private String id;
		
	/** 系统用户 **/
	private String userId;
		
	/** 姓名 **/
	private String name;
		
	/** 性别 **/
	private Integer sex;
		
	/** 地址 **/
	private String address;
		
	/** 注册时间 **/
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date createTime;
		
	/** 最后登录时间 **/
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date lastLoginTime;
		
	/** 注册渠道 wechat alipay pc **/
	private String registerFrom;
		
	/** 微信openid **/
	private String openid;
		
	/** 阿里userid **/
	private String aliuserid;
		
	/** 激活状态 **/
	private Integer isActive;
		
		
	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
	 
			
	public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
	 
			
	public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
	 
			
	public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }
	 
			
	public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
	 
			
	public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
	 
			
	public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }
	 
			
	public String getRegisterFrom() {
        return registerFrom;
    }

    public void setRegisterFrom(String registerFrom) {
        this.registerFrom = registerFrom;
    }
	 
			
	public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }
	 
			
	public String getAliuserid() {
        return aliuserid;
    }

    public void setAliuserid(String aliuserid) {
        this.aliuserid = aliuserid;
    }
	 
			
	public Integer getIsActive() {
        return isActive;
    }

    public void setIsActive(Integer isActive) {
        this.isActive = isActive;
    }
	 
			
	public CustomerInfo() {
        super();
    }
    
																																																									
	public CustomerInfo(String id,String userId,String name,Integer sex,String address,Date createTime,Date lastLoginTime,String registerFrom,String openid,String aliuserid,Integer isActive) {
	
		this.id = id;
		this.userId = userId;
		this.name = name;
		this.sex = sex;
		this.address = address;
		this.createTime = createTime;
		this.lastLoginTime = lastLoginTime;
		this.registerFrom = registerFrom;
		this.openid = openid;
		this.aliuserid = aliuserid;
		this.isActive = isActive;
		
	}
	
}